﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SnapLib
{
   public class ForeignButton : ForeignControl
   {
      public ForeignButton(IntPtr parentWindow, uint controlId) :
         base(parentWindow, controlId)
      {
      }

      public void Press()
      {
         Win32.PostMessage(m_parentWnd, WindowsMessage.WM_COMMAND, m_controlId, (uint)m_hwnd);
      }
   }
}
